<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"   
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:medistat="http://java.sun.com/jsf/composite/medistat"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:rich="http://richfaces.org/rich"
      xmlns:p="http://primefaces.prime.com.tr/ui"
      >
      
    <body>
	    <ui:composition>
			 
			<table border="0" cellpadding="0" cellspacing="0" width="100%">
				<tr> 
				   	<td>
				   		<h:form>
						<p:menubar autoSubmenuDisplay="true">
							<p:submenu label="Uporabnik" icon="ui-icon ui-icon-document">
								<p:menuitem value="Spremeni geslo" url="../pages/userInfo.jsf" />
							</p:submenu>
							<p:submenu label="Urnik" icon="ui-icon ui-icon-document">
								<p:menuitem value="Generiraj urnik" url="../pages/generateSchedule.jsf" />
								<p:menuitem value="Naloži urnik" url="../pages/loadSchedule.jsf" />
								<p:menuitem value="Odsotnost iz dela" url="../pages/outOfWork.jsf" />
							</p:submenu>
							<p:submenu label="Nastavitve" icon="ui-icon ui-icon-document">
								<p:menuitem value="Dodaj zdravnika" url="../pages/addDoctor.jsf" />
								<p:menuitem value="Nastavitve dela - zdravniki" url="../pages/settings.jsf" />
								<p:menuitem value="Prazniki" url="../pages/holidays.jsf" />
							</p:submenu>
							<p:submenu label="Statistika" icon="ui-icon ui-icon-document">
								<p:menuitem value="Prikaz statistike" url="../pages/statistics.jsf" />
							</p:submenu>
							<p:menuitem value="Odjava" 
								action="#{loginController.logout}"
								ajax="false"
								/>
							
						</p:menubar>
						</h:form>
					</td>
				</tr>
			</table>
				
	    </ui:composition>
    </body>
</html>